package com.woniu108.product.client;

import com.woniu108.carService.commos.dto.AddressInfoDto;
import com.woniu108.carService.commos.model.Result;
import com.woniu108.valueAdded.form.AddScoreBuyLogForm;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author yanxi
 */
@FeignClient(name = "value-added-server",path = "/value-added")
public interface ValueAddedClient {

    /**
     * 添加积分兑换商品记录
     * @param form 积分商品兑换记录信息
     * @return result 是否正常访问接口结果
     */
    @PostMapping("/socreBuyLog/addScoreBuyLog.api")
    public Result addScoreBuyLog(@RequestBody AddScoreBuyLogForm form);

}
